package com.ssm.Dao;

import com.ssm.Utils.DBCPUtils;

public class deleteshopDao {

    public boolean delete(String username,String pic){

        String sql="delete from shop where u_id in(select id from user where name=?) and c_pic=?";
        Object[] objects={username,pic};

        boolean b = DBCPUtils.executeUpdate(sql, objects);

        return b;
    }
}
